package com.gxa.order.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.base.RespResult;
import com.gxa.order.dto.CommentDto;
import com.gxa.order.entity.AccommodationComments;
import com.gxa.order.entity.AccommodationOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
* @author
* @description 针对表【accommodation_order】的数据库操作Mapper
* @createDate  2023-04-10 13:53:30
* @Entity .entity.AccommodationOrder
*/
@Mapper
@Repository
public interface AccommodationOrderAppMapper extends BaseMapper<AccommodationOrder> {

    void updataOrderStatusByOrderNo2(@Param("order_num")Long order_num, @Param("date")Date date, @Param("status")String status);

    void updataOrderStatusByOrderNo1(@Param("order_num")Long order_num, @Param("date")Date date, @Param("status")String status);

    void updataOrderStatusByOrderNo3(@Param("order_num")Long order_num, @Param("status")String status);

    void updataOrderStatusByOrderNo4(@Param("order_num")Long order_num, @Param("status")String status);

    void updataOrderStatusByOrderNo5(@Param("order_num")Long order_num, @Param("date")Date date, @Param("status")String status);

    void addComment(CommentDto commentDto);

    int addImg(@Param("s")String s, @Param("id")int id);
}




